package interfazGrafica;

import java.awt.Dimension;

import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.UIManager;
import javax.swing.JSeparator;
import javax.swing.JButton;
import java.awt.Button;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.SwingConstants;
import java.awt.Color;
import javax.swing.border.LineBorder;
import javax.swing.JComboBox;
import java.awt.SystemColor;
import javax.swing.border.BevelBorder;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import java.awt.ScrollPane;
import javax.swing.JScrollPane;
import javax.swing.DefaultComboBoxModel;


public class Habitaciones extends JPanel {
	private JTextField textFieldEstado;
	private JTextField textFieldHoraInicio;
	private JTextField textFieldTiempoTranscurrido;
	private JTextField textFieldTiempoRestante;
	private JTextField textFieldHoraSalida;
	private JTextField textFieldTolerancia;
	private JTextField textFieldImporteTurno;
	private JTextField textFieldFecha;
	private JTable table;
	private JTextField textFieldTotalConsumiciones;
	private JTextField textFieldTotalTurno;
	
	public Habitaciones() {
		setBorder(new LineBorder(new Color(0, 0, 0)));
		setMaximumSize(new Dimension(1024, 768));
		
		try{UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");}
		catch(Exception e) {}
		
		setPreferredSize(new Dimension(1024, 768));
		setSize(new Dimension(1024, 768));
		setMinimumSize(new Dimension(1024, 768));
		setLayout(null);
		
		JButton botonHab24 = new JButton("24");
		botonHab24.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab24.setMinimumSize(new Dimension(20, 28));
		botonHab24.setMaximumSize(new Dimension(20, 28));
		botonHab24.setSize(new Dimension(20, 28));
		botonHab24.setBounds(470, 59, 60, 84);
		add(botonHab24);
		
		JButton botonHab25 = new JButton("25");
		botonHab25.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab25.setSize(new Dimension(20, 28));
		botonHab25.setMinimumSize(new Dimension(20, 28));
		botonHab25.setMaximumSize(new Dimension(20, 28));
		botonHab25.setBounds(470, 143, 60, 84);
		add(botonHab25);
		
		JButton botonHab26 = new JButton("26");
		botonHab26.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab26.setSize(new Dimension(20, 28));
		botonHab26.setMinimumSize(new Dimension(20, 28));
		botonHab26.setMaximumSize(new Dimension(20, 28));
		botonHab26.setBounds(554, 59, 72, 120);
		add(botonHab26);
		
		JButton botonHab19 = new JButton("19");
		botonHab19.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab19.setSize(new Dimension(20, 28));
		botonHab19.setMinimumSize(new Dimension(20, 28));
		botonHab19.setMaximumSize(new Dimension(20, 28));
		botonHab19.setBounds(662, 131, 72, 72);
		add(botonHab19);
		
		JButton botonHab20 = new JButton("20");
		botonHab20.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab20.setSize(new Dimension(20, 28));
		botonHab20.setMinimumSize(new Dimension(20, 28));
		botonHab20.setMaximumSize(new Dimension(20, 28));
		botonHab20.setBounds(734, 131, 72, 72);
		add(botonHab20);
		
		JButton botonHab21 = new JButton("21");
		botonHab21.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab21.setSize(new Dimension(20, 28));
		botonHab21.setMinimumSize(new Dimension(20, 28));
		botonHab21.setMaximumSize(new Dimension(20, 28));
		botonHab21.setBounds(806, 131, 72, 72);
		add(botonHab21);
		
		JButton botonHab22 = new JButton("22");
		botonHab22.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab22.setSize(new Dimension(20, 28));
		botonHab22.setMinimumSize(new Dimension(20, 28));
		botonHab22.setMaximumSize(new Dimension(20, 28));
		botonHab22.setBounds(902, 155, 72, 72);
		add(botonHab22);
		
		JButton botonHab23 = new JButton("23");
		botonHab23.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab23.setSize(new Dimension(20, 28));
		botonHab23.setMinimumSize(new Dimension(20, 28));
		botonHab23.setMaximumSize(new Dimension(20, 28));
		botonHab23.setBounds(878, 83, 72, 72);
		add(botonHab23);
		
		JLabel lblPlantaAlta = new JLabel("PLANTA ALTA");
		lblPlantaAlta.setHorizontalAlignment(SwingConstants.CENTER);
		lblPlantaAlta.setFont(new Font("Tahoma", Font.BOLD, 16));
		lblPlantaAlta.setBounds(706, 59, 116, 26);
		add(lblPlantaAlta);
		
		JSeparator separator = new JSeparator();
		separator.setForeground(Color.BLACK);
		separator.setBounds(530, 225, 372, 5);
		add(separator);
		
		JSeparator separator_1 = new JSeparator();
		separator_1.setForeground(Color.BLACK);
		separator_1.setBounds(530, 61, 24, 5);
		add(separator_1);
		
		JSeparator separator_2 = new JSeparator();
		separator_2.setForeground(Color.BLACK);
		separator_2.setBounds(626, 133, 36, 1);
		add(separator_2);
		
		JSeparator separator_3 = new JSeparator();
		separator_3.setForeground(Color.BLACK);
		separator_3.setBounds(626, 144, 36, 5);
		add(separator_3);
		
		JSeparator separator_4 = new JSeparator();
		separator_4.setForeground(Color.BLACK);
		separator_4.setBounds(626, 177, 36, 5);
		add(separator_4);
		
		JSeparator separator_5 = new JSeparator();
		separator_5.setForeground(Color.BLACK);
		separator_5.setBounds(626, 166, 36, 5);
		add(separator_5);
		
		JSeparator separator_6 = new JSeparator();
		separator_6.setForeground(Color.BLACK);
		separator_6.setBounds(626, 155, 36, 5);
		add(separator_6);
		
		JButton botonHab16 = new JButton("16");
		botonHab16.setSize(new Dimension(20, 28));
		botonHab16.setMinimumSize(new Dimension(20, 28));
		botonHab16.setMaximumSize(new Dimension(20, 28));
		botonHab16.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab16.setBounds(349, 59, 72, 72);
		add(botonHab16);
		
		JButton botonHab12 = new JButton("12");
		botonHab12.setSize(new Dimension(20, 28));
		botonHab12.setMinimumSize(new Dimension(20, 28));
		botonHab12.setMaximumSize(new Dimension(20, 28));
		botonHab12.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab12.setBounds(277, 59, 72, 72);
		add(botonHab12);
		
		JButton botonHab14 = new JButton("14");
		botonHab14.setSize(new Dimension(20, 28));
		botonHab14.setMinimumSize(new Dimension(20, 28));
		botonHab14.setMaximumSize(new Dimension(20, 28));
		botonHab14.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab14.setBounds(217, 59, 60, 72);
		add(botonHab14);
		
		JButton botonHab18 = new JButton("18");
		botonHab18.setSize(new Dimension(20, 28));
		botonHab18.setMinimumSize(new Dimension(20, 28));
		botonHab18.setMaximumSize(new Dimension(20, 28));
		botonHab18.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab18.setBounds(49, 179, 108, 72);
		add(botonHab18);
		
		JButton botonHab15 = new JButton("15");
		botonHab15.setSize(new Dimension(20, 28));
		botonHab15.setMinimumSize(new Dimension(20, 28));
		botonHab15.setMaximumSize(new Dimension(20, 28));
		botonHab15.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab15.setBounds(217, 155, 96, 72);
		add(botonHab15);
		
		JButton botonHab13 = new JButton("13");
		botonHab13.setSize(new Dimension(20, 28));
		botonHab13.setMinimumSize(new Dimension(20, 28));
		botonHab13.setMaximumSize(new Dimension(20, 28));
		botonHab13.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab13.setBounds(157, 251, 96, 72);
		add(botonHab13);
		
		JButton botonHab17 = new JButton("17");
		botonHab17.setSize(new Dimension(20, 28));
		botonHab17.setMinimumSize(new Dimension(20, 28));
		botonHab17.setMaximumSize(new Dimension(20, 28));
		botonHab17.setFont(new Font("Tahoma", Font.BOLD, 20));
		botonHab17.setBounds(253, 227, 120, 96);
		add(botonHab17);
		
		JSeparator separator_7 = new JSeparator();
		separator_7.setOrientation(SwingConstants.VERTICAL);
		separator_7.setForeground(Color.BLACK);
		separator_7.setBounds(181, 81, 1, 48);
		add(separator_7);
		
		JSeparator separator_8 = new JSeparator();
		separator_8.setForeground(Color.BLACK);
		separator_8.setBounds(181, 81, 36, 5);
		add(separator_8);
		
		JSeparator separator_9 = new JSeparator();
		separator_9.setForeground(Color.BLACK);
		separator_9.setBounds(181, 105, 36, 5);
		add(separator_9);
		
		JSeparator separator_10 = new JSeparator();
		separator_10.setForeground(Color.BLACK);
		separator_10.setBounds(181, 117, 36, 5);
		add(separator_10);
		
		JSeparator separator_11 = new JSeparator();
		separator_11.setForeground(Color.BLACK);
		separator_11.setBounds(155, 129, 62, 1);
		add(separator_11);
		
		JSeparator separator_12 = new JSeparator();
		separator_12.setForeground(Color.BLACK);
		separator_12.setBounds(181, 93, 36, 5);
		add(separator_12);
		
		JSeparator separator_13 = new JSeparator();
		separator_13.setOrientation(SwingConstants.VERTICAL);
		separator_13.setForeground(Color.BLACK);
		separator_13.setBounds(216, 81, 1, 48);
		add(separator_13);
		
		JSeparator separator_14 = new JSeparator();
		separator_14.setOrientation(SwingConstants.VERTICAL);
		separator_14.setForeground(Color.BLACK);
		separator_14.setBounds(627, 133, 1, 44);
		add(separator_14);
		
		JSeparator separator_15 = new JSeparator();
		separator_15.setOrientation(SwingConstants.VERTICAL);
		separator_15.setForeground(Color.BLACK);
		separator_15.setBounds(661, 133, 1, 44);
		add(separator_15);
		
		JSeparator separator_16 = new JSeparator();
		separator_16.setOrientation(SwingConstants.VERTICAL);
		separator_16.setForeground(Color.BLACK);
		separator_16.setBounds(155, 129, 1, 12);
		add(separator_16);
		
		JSeparator separator_17 = new JSeparator();
		separator_17.setOrientation(SwingConstants.VERTICAL);
		separator_17.setForeground(Color.BLACK);
		separator_17.setBounds(155, 169, 1, 12);
		add(separator_17);
		
		JSeparator separator_18 = new JSeparator();
		separator_18.setForeground(Color.BLACK);
		separator_18.setBounds(151, 141, 8, 1);
		add(separator_18);
		
		JSeparator separator_19 = new JSeparator();
		separator_19.setForeground(Color.BLACK);
		separator_19.setBounds(151, 143, 8, 1);
		add(separator_19);
		
		JSeparator separator_20 = new JSeparator();
		separator_20.setForeground(Color.BLACK);
		separator_20.setBounds(151, 167, 8, 1);
		add(separator_20);
		
		JSeparator separator_21 = new JSeparator();
		separator_21.setForeground(Color.BLACK);
		separator_21.setBounds(151, 169, 8, 1);
		add(separator_21);
		
		JSeparator separator_22 = new JSeparator();
		separator_22.setForeground(Color.BLACK);
		separator_22.setBounds(313, 157, 105, 1);
		add(separator_22);
		
		JSeparator separator_23 = new JSeparator();
		separator_23.setOrientation(SwingConstants.VERTICAL);
		separator_23.setForeground(Color.BLACK);
		separator_23.setBounds(418, 131, 1, 27);
		add(separator_23);
		
		JLabel lblPlantaBaja = new JLabel("PLANTA BAJA");
		lblPlantaBaja.setHorizontalAlignment(SwingConstants.CENTER);
		lblPlantaBaja.setFont(new Font("Tahoma", Font.BOLD, 16));
		lblPlantaBaja.setBounds(49, 59, 116, 21);
		add(lblPlantaBaja);
		
		JLabel lblSeleccioneHabitacin = new JLabel("Habitaci\u00F3n:");
		lblSeleccioneHabitacin.setHorizontalAlignment(SwingConstants.LEFT);
		lblSeleccioneHabitacin.setFont(new Font("Tahoma", Font.PLAIN, 14));
		lblSeleccioneHabitacin.setBounds(470, 251, 175, 21);
		add(lblSeleccioneHabitacin);
		
		JComboBox comboBoxHabitacionSeleccionada = new JComboBox();
		comboBoxHabitacionSeleccionada.setModel(new DefaultComboBoxModel(new String[] {"Seleccione una opci\u00F3n...", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26"}));
		comboBoxHabitacionSeleccionada.setFont(new Font("Tahoma", Font.PLAIN, 14));
		comboBoxHabitacionSeleccionada.setBounds(470, 281, 175, 26);
		add(comboBoxHabitacionSeleccionada);
		
		JLabel lblHabitaciones = new JLabel("Habitaciones");
		lblHabitaciones.setHorizontalAlignment(SwingConstants.CENTER);
		lblHabitaciones.setFont(new Font("Tahoma", Font.PLAIN, 16));
		lblHabitaciones.setBounds(95, 34, 108, 21);
		add(lblHabitaciones);
		
		JSeparator separator_24 = new JSeparator();
		separator_24.setForeground(Color.LIGHT_GRAY);
		separator_24.setBounds(197, 44, 800, 5);
		add(separator_24);
		
		JSeparator separator_25 = new JSeparator();
		separator_25.setForeground(Color.LIGHT_GRAY);
		separator_25.setBounds(26, 340, 972, 1);
		add(separator_25);
		
		JSeparator separator_26 = new JSeparator();
		separator_26.setForeground(Color.LIGHT_GRAY);
		separator_26.setBounds(26, 44, 75, 1);
		add(separator_26);
		
		JSeparator separator_27 = new JSeparator();
		separator_27.setOrientation(SwingConstants.VERTICAL);
		separator_27.setForeground(Color.LIGHT_GRAY);
		separator_27.setBounds(26, 44, 1, 296);
		add(separator_27);
		
		JSeparator separator_28 = new JSeparator();
		separator_28.setOrientation(SwingConstants.VERTICAL);
		separator_28.setForeground(Color.LIGHT_GRAY);
		separator_28.setBounds(997, 44, 1, 296);
		add(separator_28);
		
		JSeparator separator_29 = new JSeparator();
		separator_29.setOrientation(SwingConstants.VERTICAL);
		separator_29.setForeground(Color.LIGHT_GRAY);
		separator_29.setBounds(446, 59, 8, 264);
		add(separator_29);
		
		JButton botonIniciarTurno = new JButton("Iniciar \r\n\r\nTurno");
		botonIniciarTurno.setBorder(UIManager.getBorder("Spinner.border"));
		botonIniciarTurno.setForeground(new Color(0, 0, 0));
		botonIniciarTurno.setBackground(new Color(0, 128, 0));
		botonIniciarTurno.setFont(new Font("Tahoma", Font.BOLD, 13));
		botonIniciarTurno.setBounds(662, 238, 140, 36);
		add(botonIniciarTurno);
		
		JButton botonFinalizarTurno = new JButton("Finalizar Turno");
		botonFinalizarTurno.setBorder(UIManager.getBorder("Spinner.border"));
		botonFinalizarTurno.setBackground(new Color(255, 0, 0));
		botonFinalizarTurno.setFont(new Font("Tahoma", Font.BOLD, 13));
		botonFinalizarTurno.setBounds(662, 287, 140, 36);
		add(botonFinalizarTurno);
		
		JSeparator separator_30 = new JSeparator();
		separator_30.setForeground(Color.LIGHT_GRAY);
		separator_30.setBounds(26, 370, 75, 1);
		add(separator_30);
		
		JLabel lblHabitacinNn = new JLabel("Habitaci\u00F3n: NN");
		lblHabitacinNn.setHorizontalAlignment(SwingConstants.CENTER);
		lblHabitacinNn.setFont(new Font("Tahoma", Font.PLAIN, 16));
		lblHabitacinNn.setBounds(105, 360, 108, 21);
		add(lblHabitacinNn);
		
		JSeparator separator_31 = new JSeparator();
		separator_31.setForeground(Color.LIGHT_GRAY);
		separator_31.setBounds(217, 370, 780, 1);
		add(separator_31);
		
		JSeparator separator_32 = new JSeparator();
		separator_32.setOrientation(SwingConstants.VERTICAL);
		separator_32.setForeground(Color.LIGHT_GRAY);
		separator_32.setBounds(26, 370, 1, 360);
		add(separator_32);
		
		JSeparator separator_33 = new JSeparator();
		separator_33.setForeground(Color.LIGHT_GRAY);
		separator_33.setBounds(26, 729, 971, 1);
		add(separator_33);
		
		JSeparator separator_34 = new JSeparator();
		separator_34.setOrientation(SwingConstants.VERTICAL);
		separator_34.setForeground(Color.LIGHT_GRAY);
		separator_34.setBounds(996, 370, 1, 360);
		add(separator_34);
		
		JLabel lblEstado = new JLabel("Estado:");
		lblEstado.setVerticalAlignment(SwingConstants.TOP);
		lblEstado.setHorizontalAlignment(SwingConstants.LEFT);
		lblEstado.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblEstado.setBounds(49, 401, 133, 26);
		add(lblEstado);
		
		JLabel lblFecha = new JLabel("Fecha:");
		lblFecha.setVerticalAlignment(SwingConstants.TOP);
		lblFecha.setHorizontalAlignment(SwingConstants.LEFT);
		lblFecha.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblFecha.setBounds(49, 433, 133, 26);
		add(lblFecha);
		
		JLabel lblHoraDeInicio = new JLabel("Hora de Inicio:");
		lblHoraDeInicio.setVerticalAlignment(SwingConstants.TOP);
		lblHoraDeInicio.setHorizontalAlignment(SwingConstants.LEFT);
		lblHoraDeInicio.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblHoraDeInicio.setBounds(49, 465, 133, 26);
		add(lblHoraDeInicio);
		
		JLabel lblTiempoTranscurrido = new JLabel("Tiempo Transcurrido:");
		lblTiempoTranscurrido.setVerticalAlignment(SwingConstants.TOP);
		lblTiempoTranscurrido.setHorizontalAlignment(SwingConstants.LEFT);
		lblTiempoTranscurrido.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblTiempoTranscurrido.setBounds(49, 497, 133, 26);
		add(lblTiempoTranscurrido);
		
		JLabel lblTiempoRestante = new JLabel("Tiempo Restante:");
		lblTiempoRestante.setVerticalAlignment(SwingConstants.TOP);
		lblTiempoRestante.setHorizontalAlignment(SwingConstants.LEFT);
		lblTiempoRestante.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblTiempoRestante.setBounds(49, 529, 133, 26);
		add(lblTiempoRestante);
		
		JLabel lblHoraDeSalida = new JLabel("Hora de Salida:");
		lblHoraDeSalida.setVerticalAlignment(SwingConstants.TOP);
		lblHoraDeSalida.setHorizontalAlignment(SwingConstants.LEFT);
		lblHoraDeSalida.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblHoraDeSalida.setBounds(49, 561, 108, 26);
		add(lblHoraDeSalida);
		
		JLabel lblTolerancia = new JLabel("Tolerancia:");
		lblTolerancia.setVerticalAlignment(SwingConstants.TOP);
		lblTolerancia.setHorizontalAlignment(SwingConstants.LEFT);
		lblTolerancia.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblTolerancia.setBounds(49, 593, 108, 26);
		add(lblTolerancia);
		
		JLabel lblImporteTurno = new JLabel("Importe Turno:");
		lblImporteTurno.setVerticalAlignment(SwingConstants.TOP);
		lblImporteTurno.setHorizontalAlignment(SwingConstants.LEFT);
		lblImporteTurno.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblImporteTurno.setBounds(49, 625, 108, 26);
		add(lblImporteTurno);
		
		textFieldEstado = new JTextField();
		textFieldEstado.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldEstado.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldEstado.setText("Ocupada");
		textFieldEstado.setEditable(false);
		textFieldEstado.setBounds(170, 396, 107, 26);
		add(textFieldEstado);
		textFieldEstado.setColumns(10);
		
		textFieldHoraInicio = new JTextField();
		textFieldHoraInicio.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldHoraInicio.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldHoraInicio.setText("17:20");
		textFieldHoraInicio.setEditable(false);
		textFieldHoraInicio.setColumns(10);
		textFieldHoraInicio.setBounds(170, 460, 107, 26);
		add(textFieldHoraInicio);
		
		textFieldTiempoTranscurrido = new JTextField();
		textFieldTiempoTranscurrido.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldTiempoTranscurrido.setText("1:40");
		textFieldTiempoTranscurrido.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldTiempoTranscurrido.setEditable(false);
		textFieldTiempoTranscurrido.setColumns(10);
		textFieldTiempoTranscurrido.setBounds(170, 492, 107, 26);
		add(textFieldTiempoTranscurrido);
		
		textFieldTiempoRestante = new JTextField();
		textFieldTiempoRestante.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldTiempoRestante.setText("0:20");
		textFieldTiempoRestante.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldTiempoRestante.setEditable(false);
		textFieldTiempoRestante.setColumns(10);
		textFieldTiempoRestante.setBounds(170, 524, 107, 26);
		add(textFieldTiempoRestante);
		
		textFieldHoraSalida = new JTextField();
		textFieldHoraSalida.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldHoraSalida.setText("19:20");
		textFieldHoraSalida.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldHoraSalida.setEditable(false);
		textFieldHoraSalida.setColumns(10);
		textFieldHoraSalida.setBounds(170, 556, 107, 26);
		add(textFieldHoraSalida);
		
		textFieldTolerancia = new JTextField();
		textFieldTolerancia.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldTolerancia.setText("0:10");
		textFieldTolerancia.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldTolerancia.setEditable(false);
		textFieldTolerancia.setColumns(10);
		textFieldTolerancia.setBounds(170, 588, 107, 26);
		add(textFieldTolerancia);
		
		textFieldImporteTurno = new JTextField();
		textFieldImporteTurno.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldImporteTurno.setText("$80.00");
		textFieldImporteTurno.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldImporteTurno.setEditable(false);
		textFieldImporteTurno.setColumns(10);
		textFieldImporteTurno.setBounds(170, 620, 107, 26);
		add(textFieldImporteTurno);
		
		textFieldFecha = new JTextField();
		textFieldFecha.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldFecha.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldFecha.setText("20/08/2014");
		textFieldFecha.setEditable(false);
		textFieldFecha.setColumns(10);
		textFieldFecha.setBounds(170, 428, 107, 26);
		add(textFieldFecha);
		
		JButton botonGenerarReserva = new JButton("Generar Reserva");
		botonGenerarReserva.setForeground(Color.BLACK);
		botonGenerarReserva.setFont(new Font("Tahoma", Font.BOLD, 12));
		botonGenerarReserva.setBorder(UIManager.getBorder("Spinner.border"));
		botonGenerarReserva.setBackground(SystemColor.activeCaptionBorder);
		botonGenerarReserva.setBounds(820, 238, 140, 36);
		add(botonGenerarReserva);
		
		JButton botonAgregarObservacion = new JButton("Agregar Observaci\u00F3n");
		botonAgregarObservacion.setForeground(Color.BLACK);
		botonAgregarObservacion.setFont(new Font("Tahoma", Font.PLAIN, 12));
		botonAgregarObservacion.setBorder(UIManager.getBorder("Button.border"));
		botonAgregarObservacion.setBackground(SystemColor.activeCaptionBorder);
		botonAgregarObservacion.setBounds(49, 657, 228, 26);
		add(botonAgregarObservacion);
		
		JButton botonEditarImporteTurno = new JButton("Editar");
		botonEditarImporteTurno.setForeground(Color.BLACK);
		botonEditarImporteTurno.setFont(new Font("Tahoma", Font.PLAIN, 12));
		botonEditarImporteTurno.setBorder(UIManager.getBorder("Button.border"));
		botonEditarImporteTurno.setBackground(SystemColor.activeCaptionBorder);
		botonEditarImporteTurno.setBounds(287, 620, 72, 26);
		add(botonEditarImporteTurno);
		
		JButton botonMantenimiento = new JButton("Mantenimiento");
		botonMantenimiento.setForeground(Color.BLACK);
		botonMantenimiento.setFont(new Font("Tahoma", Font.BOLD, 12));
		botonMantenimiento.setBorder(UIManager.getBorder("Spinner.border"));
		botonMantenimiento.setBackground(SystemColor.activeCaptionBorder);
		botonMantenimiento.setBounds(820, 287, 140, 36);
		add(botonMantenimiento);
		
		JButton botonAgregarConsumicion = new JButton("<html><center>Agregar</center><center>Consumici\u00F3n</center></html>");
		botonAgregarConsumicion.setForeground(Color.BLACK);
		botonAgregarConsumicion.setFont(new Font("Tahoma", Font.PLAIN, 12));
		botonAgregarConsumicion.setBorder(UIManager.getBorder("Button.border"));
		botonAgregarConsumicion.setBackground(SystemColor.activeCaptionBorder);
		botonAgregarConsumicion.setBounds(823, 497, 119, 58);
		add(botonAgregarConsumicion);
		
		JScrollPane scrollPane = new JScrollPane();
		scrollPane.setBounds(446, 396, 335, 218);
		add(scrollPane);
		
		table = new JTable();
		scrollPane.setViewportView(table);
		table.setModel(new DefaultTableModel(
			new Object[][] {
				{"2", "Pininas Quilmes", "22.00"},
				{"1", "Marlboro", "8.00"},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
				{null, null, null},
			},
			new String[] {
				"Cantidad", "Detalle", "Importe"
			}
		) {
			boolean[] columnEditables = new boolean[] {
				false, false, false
			};
			public boolean isCellEditable(int row, int column) {
				return columnEditables[column];
			}
		});
		table.getColumnModel().getColumn(0).setPreferredWidth(56);
		table.getColumnModel().getColumn(1).setPreferredWidth(174);
		
		JLabel lblTotalConsumiciones = new JLabel("Total Consumiciones:  $");
		lblTotalConsumiciones.setVerticalAlignment(SwingConstants.TOP);
		lblTotalConsumiciones.setHorizontalAlignment(SwingConstants.RIGHT);
		lblTotalConsumiciones.setFont(new Font("Tahoma", Font.PLAIN, 12));
		lblTotalConsumiciones.setBounds(446, 625, 235, 26);
		add(lblTotalConsumiciones);
		
		textFieldTotalConsumiciones = new JTextField();
		textFieldTotalConsumiciones.setText("30.00");
		textFieldTotalConsumiciones.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldTotalConsumiciones.setFont(new Font("Tahoma", Font.PLAIN, 12));
		textFieldTotalConsumiciones.setEditable(false);
		textFieldTotalConsumiciones.setColumns(10);
		textFieldTotalConsumiciones.setBounds(685, 620, 78, 26);
		add(textFieldTotalConsumiciones);
		
		JLabel lblTotalTurno = new JLabel("Total Turno:  $");
		lblTotalTurno.setVerticalAlignment(SwingConstants.TOP);
		lblTotalTurno.setHorizontalAlignment(SwingConstants.RIGHT);
		lblTotalTurno.setFont(new Font("Tahoma", Font.BOLD, 14));
		lblTotalTurno.setBounds(784, 690, 108, 26);
		add(lblTotalTurno);
		
		textFieldTotalTurno = new JTextField();
		textFieldTotalTurno.setBorder(null);
		textFieldTotalTurno.setHorizontalAlignment(SwingConstants.CENTER);
		textFieldTotalTurno.setText("110.00");
		textFieldTotalTurno.setFont(new Font("Tahoma", Font.BOLD, 14));
		textFieldTotalTurno.setEditable(false);
		textFieldTotalTurno.setColumns(10);
		textFieldTotalTurno.setBounds(878, 691, 78, 14);
		add(textFieldTotalTurno);
		
		JSeparator separator_35 = new JSeparator();
		separator_35.setForeground(Color.GRAY);
		separator_35.setBounds(784, 685, 180, 1);
		add(separator_35);
		
		JSeparator separator_36 = new JSeparator();
		separator_36.setForeground(Color.GRAY);
		separator_36.setBounds(784, 712, 180, 1);
		add(separator_36);
	}
}
